﻿<%@ Page Language="C#" MasterPageFile="~/TraCuu.master" AutoEventWireup="true" CodeFile="TraCuu.aspx.cs" Inherits="TraCuu" Title="Tra Cứu Sách" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<div id ="HienThi" runat ="server" ></div>
    <table style="width: 599px">
      <tbody align ="center">
        <tr>
            <td style ="width:123"><img src='images/search_img1.gif' alt="" /></td>
            <td align="left" style="width: 470px"><img alt="" src='images/search_img2.gif' /></td>        
        </tr>
        <tr style="FONT-FAMILY: tahoma; FONT-SIZE: 11px">
            <td style='TEXT-ALIGN: left' valign="top" ><img src='images/search_img3.gif' alt="" /> </td>
            <td style="width: 470px">
               <table style="FONT-FAMILY: Tahoma; FONT-SIZE: 11px;" align="right">
                  <tbody>
                    <tr>
                        <td style="COLOR: #000000" width='160' align="right">Tiêu đề 
                            <asp:DropDownList ID="cbochontracuu" runat="server" OnSelectedIndexChanged="cbochontracuu_SelectedIndexChanged">
                            <asp:ListItem Value="TatCa">Tất cả</asp:ListItem>
                            <asp:ListItem Value="TieuDe">Ti&#234;u đề</asp:ListItem>
                            <asp:ListItem Value="TacGia">T&#225;c giả</asp:ListItem>
                            <asp:ListItem Value="DKCB">ĐKCB</asp:ListItem>
                            <asp:ListItem Value="MuonNhieu">Mượn nhiều</asp:ListItem>
                            </asp:DropDownList>&nbsp;
                        </td>
                        <td style="COLOR: #000000; width: 210px;" align="right">
                            <asp:Label ID="Label1" runat="server" Text="Từ khóa"></asp:Label>
                            <asp:TextBox ID="txttukhoa" runat="server" Width="150px"></asp:TextBox>&nbsp;
                        </td>
                        <td style="PADDING-LEFT: 2px; width: 45px;">
                            <asp:Button ID="btntim" runat="server" ToolTip="Tìm kiếm thông tin chi tiết" class='button_search' OnClick="btntim_Click" Width="54px" />
                        </td>
                     </tr>
                   </tbody>
            </table>
           </td>
    </tr>
    <tr>
        <td style="TEXT-ALIGN: center; COLOR: #747474; FONT-SIZE: 11px; height: 14px;" colspan ='2'>
            Nhập TỪ KHOÁ trong TIÊU ĐỀ: Tác giả, Nhan đề, Đề mục hay Tất cả 
        </td>
    </tr>
   </tbody>
  </table>
    <asp:Label ID="thongbao" runat="server"></asp:Label>
  <table style="width: 100%; height: 100%">
        <tr>
            <td style="width: 100%; height: 331px;" valign="top">
                &nbsp;
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" OnPageIndexChanging="GridView1_PageIndexChanging" HorizontalAlign="Center">
                
                    <Columns>
                        <asp:BoundField DataField="DKCb" HeaderText="ĐKCB" ReadOnly="True" SortExpression="DKCb" />
                        <asp:BoundField DataField="TenTuaSach" HeaderText="Tựa S&#225;ch" ReadOnly="True" SortExpression="MaTuaSach" />
                        <asp:BoundField DataField="TenTG" HeaderText="T&#234;n T&#225;c Giả" ReadOnly="True" SortExpression="TenTG" />
                        <asp:BoundField DataField="TenNN" HeaderText="Ng&#244;n Ngữ" ReadOnly="True" SortExpression="TrangThai" />
                        <asp:BoundField DataField="Tennxb" HeaderText="NXB" />
                        <asp:BoundField DataField="Gia" HeaderText="Gi&#225;" ReadOnly="True" />
                        <asp:BoundField DataField="TrangThai" HeaderText="T&#236;nh Trạng" ReadOnly="True">
                            <ControlStyle ForeColor="Red" />
                            <FooterStyle ForeColor="Red" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TenTL" HeaderText="Thể Loại" />
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#333333" />
                    <RowStyle BackColor="White" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" BorderColor="White" />
                    <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
                    <PagerSettings FirstPageText="" LastPageText="" />
                </asp:GridView>
                &nbsp; &nbsp;
            </td>
        </tr>
    </table>
</asp:Content>

